import request from '@/utils/request'
export function getRecommendListApi(params) {
    return request({
        url: '/web/api/works/recommend/list',
        method: 'get',
        params
    })
}
export function getWorksRandomListApi() {
    return request({
        url: '/web/api/works/random/list',
        method: 'get'
    })
}
export function handleUnlikeWorkApi(params) {
    return request({
        url: '/web/api/works/unlike',
        method: 'post',
        params
    })
}
export function handlelikeWorkApi(params) {
    return request({
        url: '/web/api/works/like',
        method: 'post',
        params
    })
}
export function cancelCollectWorkApi(params) {
    return request({
        url: '/web/api/works/cancel/collect',
        method: 'post',
        params
    })
}
export function handleCollectWorkApi(params) {
    return request({
        url: '/web/api/works/collect',
        method: 'post',
        params
    })
}